package jun.work.date;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateTimeHelper {
	private DateTimeHelper() {
	}

	public static String formatDate(Date date, String formatPattern) {
		SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
		return sdf.format(date);
	}

}
